home *** CD-ROM | disk | FTP | other *** search
/ Merciful 5 / Merciful - Disc 5.iso / software / a / amiga_client_software / amigaclientswarev1.45e.dms / amigaclientswarev1.45e.adf / install_acs < prev    next >
Text File  |  1992-09-24  |  20KB  |  683 lines

  1. ;  Amiga Client Software Installation Script
  2. ;  Author: Pat Cummings and Tim Patrick
  3. ;  Copyright (c) 1992 Oxxi, Inc.  All Rights Reserved.
  4.  
  5. ; ----------- Setup some '#define' variables
  6. (set DOS_V13 0 DOS_V20 1)
  7. (set NEW_INSTALL 0 UPDATE_INSTALL 1)
  8. (set TO_HARD_DRIVE 0 TO_SERVER 1)
  9. (set CBM_ARCNET 0 CBM_ETHERNET 1 HYDRA_ETHERNET 2 ASDG_LAN_ROVER 3 QUANCOM 4)
  10. (set FALSE 0 TRUE 1)
  11. (set NO 0 YES 1)
  12. (set ENOUGH_SPACE 0 NO_SPACE_RESTART 1 NO_SPACE_QUIT 2)
  13. (set DO_NOT_INSTALL_HELP 0 DO_INSTALL_HELP 1)
  14.  
  15. ; ----------- Setup the type of installation
  16. (set answer
  17.     (askchoice
  18.         (prompt "What type of installation is this?")
  19.         (choices "New Install to Hard Drive" "Upgrade to Hard Drive"
  20.                 "New Install to Server" "Upgrade to Server")
  21.         (help "    \"Install to Hard Drive\" places the necessary Network "
  22.             " files on a specified hard drive at your local Amiga.\n\n"
  23.             "    \"New Install to Server\" installs all ACS files, plus "
  24.             "the necessary AmigaDOS (WorkBench) files on the server.\n\n"
  25.             "    \"Upgrade to Hard Drive\" and \"Upgrade to Server\" "
  26.             "let you upgrade the changed files from a new ACS version.\n")
  27.     )
  28. )
  29.  
  30. (if (= answer 0) (set installType NEW_INSTALL installDest TO_HARD_DRIVE))
  31. (if (= answer 1) (set installType UPDATE_INSTALL installDest TO_HARD_DRIVE))
  32. (if (= answer 2) (set installType NEW_INSTALL installDest TO_SERVER))
  33. (if (= answer 3) (set installType UPDATE_INSTALL installDest TO_SERVER))
  34.  
  35. (if (= installDest TO_SERVER)
  36.     (
  37.         (set answer
  38.             (askbool
  39.                 (prompt "Are you logged in as a Supervisor-equivalent?")
  40.                 (help
  41.                     "    Unless you are logged in with sufficient"
  42.                     " rights to write to the server volume you select,"
  43.                     " some files may not be copied to the server.\n\n"
  44.                     @askbool-help)
  45.             )
  46.         )
  47.         (if (= answer NO)
  48.             (
  49.                 (abort (cat
  50.                     "You cannot install the ACS on the file"
  51.                     " server without being logged in as"
  52.                     " Supervisor-equivalent."
  53.                     " Please log in and try the install procedure again." )
  54.                 )
  55.             )
  56.         )
  57.     )
  58. ;--    else if (installDest == TO_HARD_DRIVE)
  59.     (
  60.         (set hardwareCard
  61. ; ---------- For hard disk install, ask what type of card they are using
  62.             (askchoice
  63.                 (prompt "Which LAN board are you using?")
  64.                 (help @askchoice-help)
  65.                 (choices "Commodore Arcnet Card (A560 or A2060)"
  66.                         "Commodore Ethernet Card (A2065)"
  67.                         "Hydra \"AmigaNet\" Ethernet Card"
  68.                         "ASDG Lan Rover Card"
  69.                         "QuanCom ArcNet Card"
  70.                 )
  71.                 (default CBM_ETHERNET)
  72.             )
  73.         )
  74.     )
  75. )
  76.  
  77. ; ----------- Ask the user for the operating system version
  78. (set workbenchVersion
  79.     (askchoice
  80.         (prompt "Which version of the WorkBench are you using?")
  81.         (help
  82.             "    The ACS set is compatible with either 2.x or"
  83.             " earlier (1.2 and 1.3) versions of WorkBench.\n\n"
  84.             @askchoice-help)
  85.         (choices "Version 1.2 or 1.3" "Version 2.x")
  86.         (default DOS_V20)
  87.     )
  88. )
  89.  
  90. ; ----------- Acquire target drive for installation
  91. (if (= installDest TO_HARD_DRIVE)
  92.     (set masterInstallDrive
  93.         (askdir
  94.             (prompt "Please indicate the path"
  95.                 " where you want the ACS files installed."
  96.                 " (A subdirectory called \"Network\" will be created"
  97.                 " or found here.)")
  98.             (help
  99.                 "    The Amiga Client Software files will be"
  100.                 " installed in a directory called \"Network\""
  101.                 " on this path.  If this directory does not exist,"
  102.                 " it will be created automatically."
  103.                 " If this is an upgrade, the \"Network\" subdirectory"
  104.                 " should already exist here.\n\n"
  105.                 @askdir-help)
  106.             (default (if (= workbenchVersion DOS_V20) "WORK:" "SYS:") )
  107.         )
  108.     )
  109. ;--    else if (installDest == TO_SERVER)
  110.     (if (= installType UPDATE_INSTALL)
  111.         (set masterInstallDrive
  112.             (askdir
  113.                 (prompt "Please locate the Amiga Workbench area on your"
  114.                     " file server (there should be a directory called"
  115.                     " \"Amiga\" at this location).")
  116.                 (help
  117.                     "    For most installed systems, these files are"
  118.                     " located on the server.SYS: volume in the"
  119.                     " Public directory.\n\n"
  120.                     @askdir-help)
  121.                 (default "nd0:Public")
  122.             )
  123.         )
  124. ;--        else if (installType == NEW_INSTALL)
  125.         (set masterInstallDrive
  126.             (askdir
  127.                 (prompt "Please locate the Amiga Workbench area on your"
  128.                     " file server (a directory called \"Amiga\" will"
  129.                     " created at this location).")
  130.                 (help
  131.                     "    For most installed systems, these files"
  132.                     " should be installed on the server.SYS: volume in"
  133.                     " the Public directory.\n\n"
  134.                     @askdir-help)
  135.                 (default "nd0:Public")
  136.             )
  137.         )
  138.     )
  139. )
  140.  
  141. ; ---------- Use Amiga directory on server install.
  142. ;            If this is an update to the server, put everything
  143. ;            in an Amiga directory under the currently chosen
  144. ;            masterInstallDrive path.
  145. (if (= installDest TO_SERVER)
  146.     (
  147.         (if (= installType UPDATE_INSTALL)
  148.             (
  149.                 (set masterInstallDrive (tackon masterInstallDrive "Amiga"))
  150.                 (if (= workbenchVersion DOS_V13)
  151.                     (set masterInstallDrive (tackon masterInstallDrive
  152.                             "Workbench1.3"))
  153.                     (set masterInstallDrive (tackon masterInstallDrive
  154.                             "Workbench2.0"))
  155.                 )
  156.             )
  157. ;-----------else (installType = NEW_INSTALL)
  158.             (
  159.                 (if (not (exists (tackon masterInstallDrive "Amiga")))
  160.                     (makedir 
  161.                         (tackon masterInstallDrive "Amiga")
  162.                         (prompt "Creating \"Amiga\" directory.")
  163.                         (help @makedir-help)
  164.                         (confirm)
  165.                         (infos)
  166.                     )
  167.                 )
  168.                 ; ---------- Create icons to the root
  169.                 (
  170.                     (set getIconsFrom masterInstallDrive)
  171.                     (set theCurrentDir masterInstallDrive)
  172.                     (set oldPathName "xxx")
  173.                     (while (<> oldPathName theCurrentDir)
  174.                         (
  175.                             (set oldPathName theCurrentDir)
  176.                             (set justDirName (fileonly theCurrentDir))
  177.                             (set theCurrentDir (pathonly theCurrentDir))
  178.                             (if (<> oldPathName theCurrentdir)
  179.                                 (copyfiles
  180.                                     (prompt "Creating Amiga icons.")
  181.                                     (help @copyfiles-help)
  182.                                     (source getIconsFrom)
  183.                                     (dest theCurrentdir)
  184.                                     (pattern "Amiga.info")
  185.                                     (newname ("%s.info" justDirName))
  186.                                     (optional)
  187.                                     (infos)
  188.                                 )
  189.                             )
  190.                         )
  191.                     )
  192.                 )
  193.  
  194.                 (set masterInstallDrive (tackon
  195.                         masterInstallDrive "Amiga"))
  196.  
  197.                 (if (not (exists (tackon masterInstallDrive "Workbench1.3")))
  198.                     (makedir (tackon masterInstallDrive "Workbench1.3")
  199.                         (infos)
  200.                     )
  201.                 )
  202.                 (if (not (exists (tackon masterInstallDrive "Workbench2.0")))
  203.                     (makedir (tackon masterInstallDrive "Workbench2.0")
  204.                         (infos)
  205.                     )
  206.                 )
  207.                 (if (not (exists (tackon masterInstallDrive "Products")))
  208.                     (makedir (tackon masterInstallDrive "Products")
  209.                         (prompt "Creating \"Products\" directory.")
  210.                         (help "    Along with a \"Workbench1.3\" and a"
  211.                             " \"Workbench2.0\" directory, you may wish to"
  212.                             " create a \"Products\" directory as a"
  213.                             " convenient put your third-party applications"
  214.                             " that are not dependent on any specific"
  215.                             " version of Workbench.\n\n"
  216.                             @makedir-help)
  217.                         (confirm)
  218.                         (infos)
  219.                     )
  220.                 )
  221.  
  222.                 (if (= workbenchVersion DOS_V13)
  223.                     (set masterInstallDrive (tackon masterInstallDrive
  224.                         "Workbench1.3"))
  225.                     (set masterInstallDrive (tackon masterInstallDrive
  226.                         "Workbench2.0"))
  227.                 )
  228.  
  229. ; ---------- Install The Workbench and the Extras if requested
  230.                 (set answer
  231.                     (askbool
  232.                         (prompt (cat "Do you want to install a Workbench"
  233.                             (select workbenchVersion " 1.3" " 2.0")
  234.                             " file system on " masterInstallDrive "?"))
  235.                         (help
  236.                             "    If you will have Amiga workstations on"
  237.                             " this network which will be using the server"
  238.                             " as their primary hard drive, you should"
  239.                             " create an Amiga directory.\n\n"
  240.                             @askbool-help)
  241.                         (default YES)
  242.                     )
  243.                 )
  244.  
  245.                 (if (= answer YES)
  246.                     (
  247. ; ---------- Copy AmigaDOS and extras to the server
  248.                         (set WB_SourceDisk
  249.                             (askdir
  250.                                 (prompt "Please insert your Amiga"
  251.                                     " Workbench disk and"
  252.                                     " click the \"Show Drives\" button to"
  253.                                     " select its name from the requester")
  254.                                 (help
  255.                                     "    Most Amiga release Workbench disks"
  256.                                     " are named Workbench(something).  While"
  257.                                     " you can use another Workbench disk"
  258.                                     " besides the Commodore release disk,"
  259.                                     " some files may not be included on"
  260.                                     " such disks, and so these missing files"
  261.                                     " cannot be installed on the"
  262.                                     " server.")
  263.                                 (default "df0:")
  264.                             )
  265.                         )
  266.  
  267.                         (copyfiles
  268.                             (prompt "Copying AmigaDOS files to server.")
  269.                             (help @copyfiles-help)
  270.                             (source WB_SourceDisk)
  271.                             (dest masterInstallDrive)
  272.                             (all)
  273.                             (infos)
  274.                             (confirm)
  275.                         )
  276.  
  277.                         (set Extras_SourceDisk
  278.                             (askdir
  279.                                 (prompt "Please insert your Amiga Extras"
  280.                                     " disk and click the \"Show Drives\""
  281.                                     " button to select its name from the"
  282.                                     " requester")
  283.                                 (help
  284.                                     "    Most Amiga release Extras disks"
  285.                                     " are named (something)Extras.  While"
  286.                                     " you can use another Extras disk"
  287.                                     " besides the Commodore release disk,"
  288.                                     " some files may not be included on such"
  289.                                     " disks, and so these missing files"
  290.                                     " cannot be installed on the server.")
  291.                                 (default "df0:")
  292.                             )
  293.                         )
  294.  
  295.                         (copyfiles
  296.                             (prompt
  297.                                 "Copying AmigaDOS Extras files to server.")
  298.                             (help @copyfiles-help)
  299.                             (source Extras_SourceDisk)
  300.                             (dest masterInstallDrive)
  301.                             (all)
  302.                             (infos)
  303.                             (confirm)
  304.                         )
  305.                     )
  306.                 )
  307.             )
  308.         )
  309.     )
  310. )
  311.  
  312. ; ---------- Ask the user to put the "ACS_Install_Workbench" disk in
  313. (askdisk
  314.     (dest "ACS_Install_Workbench")
  315.     (prompt "Please insert the Network Install disk labelled\n\n"
  316.         "Amiga Client Software\nInstall Workbench")
  317.     (help @askdisk-help)
  318. )
  319.  
  320. ; ---------- Choose the location of SYS:
  321. ;            If this is server install, put everything in same place,
  322. ;            but if this is harddrive install, essential files go in
  323. ;            sys: by default
  324. (if (= installDest TO_HARD_DRIVE)
  325.     (set sysVolumePath "SYS:")
  326.     (set sysVolumePath masterInstallDrive)
  327. )
  328.  
  329. ; ---------- Copy the NCP.library to the sysVolumePath destination
  330. (copyfiles
  331.     (prompt "Copying Essential ACS Files")
  332.     (help @copyfiles-help)
  333.     (source "ACS_Install_Workbench:libs")
  334.     (dest (tackon sysVolumePath "libs"))
  335.     (infos)
  336.     (pattern "NCP.library")
  337.     (confirm)
  338. )
  339.  
  340. ; ---------- Copy the device driver(s) to the sysVolumePath destination
  341. (copyfiles
  342.     (prompt "Copying Essential ACS Files")
  343.     (help @copyfiles-help)
  344.     (source "ACS_Install_Workbench:Expansion")
  345.     (dest (tackon sysVolumePath "Expansion"))
  346.     (infos)
  347.     (pattern
  348.         (if (= installDest TO_SERVER)
  349.             ("#?")
  350.             (select hardwareCard "Arc#?" "Eth#?" "Hyd#?" "ASDG#?" "Arc#?")
  351.         )
  352.     )
  353.     (confirm)
  354. )
  355.  
  356. ; ---------- Copy the Net-Handler to the sysVolumePath destination
  357. (copyfiles
  358.     (prompt "Copying Essential ACS Files")
  359.     (help @copyfiles-help)
  360.     (source "ACS_Install_Workbench:l")
  361.     (pattern "Net-Handler")
  362.     (dest (tackon sysVolumePath "l"))
  363.     (confirm)
  364. )
  365.  
  366. ; ---------- Copy the NPR-Handler to the sysVolumePath destination
  367. (copyfiles
  368.     (prompt "Copying Essential ACS Files")
  369.     (help @copyfiles-help)
  370.     (source "ACS_Install_Workbench:l")
  371.     (pattern "NPR-Handler")
  372.     (dest (tackon sysVolumePath "l"))
  373.     (confirm)
  374. )
  375.  
  376. ; ---------- Copy the NetPrint.device and the Printer.device
  377. ;            printer device drivers to the sysVolumePath destination
  378. (copyfiles
  379.     (prompt "Copying Essential ACS Files")
  380.     (help @copyfiles-help)
  381.     (source "ACS_Install_Workbench:devs")
  382.     (dest (tackon sysVolumePath "devs"))
  383.     (pattern (if (= workbenchVersion DOS_V13)
  384.         "#?print#?.device" "NetPrint.Device"))
  385.     (confirm)
  386. )
  387.  
  388. ; ---------- Copy the fonts to the sysVolumePath destination
  389. (copyfiles
  390.     (prompt "Copying Essential ACS Fonts")
  391.     (help @copyfiles-help)
  392.     (source "ACS_Install_Workbench:fonts")
  393.     (pattern "narrow")
  394.     (dest (tackon sysVolumePath "fonts"))
  395.     (fonts)
  396.     (confirm)
  397. )
  398.  
  399. (copyfiles
  400.     (prompt "Copying Essential ACS Fonts")
  401.     (help @copyfiles-help)
  402.     (source "ACS_Install_Workbench:fonts")
  403.     (pattern "helvetica")
  404.     (dest (tackon sysVolumePath "fonts"))
  405.     (fonts)
  406.     (confirm)
  407. )
  408.  
  409. ; ---------- Copy the 1.3 NetPrefs program to the sysVolumePath destination
  410. (if (= workbenchVersion DOS_V13)
  411.     (copyfiles
  412.         (prompt "Copying Essential ACS Files")
  413.         (help @copyfiles-help)
  414.         (source "ACS_Install_Workbench:Prefs")
  415.         (dest (tackon sysVolumePath "Prefs"))
  416.         (pattern "NetPrefs")
  417.         (confirm)
  418.         (infos)
  419.     )
  420. )
  421.  
  422. ; ---------- Copy the 2.0 Printer prefs program to the sysVolumePath
  423. ;            destination (without its info file)
  424. (if (= workbenchVersion DOS_V20)
  425.     (copyfiles
  426.         (prompt "Copying Essential ACS Files")
  427.         (help @copyfiles-help)
  428.         (source "ACS_Install_Workbench:Prefs")
  429.         (dest (tackon sysVolumePath "Prefs"))
  430.         (pattern "Printer")
  431.         (confirm)
  432.     )
  433. )
  434.  
  435. ; ---------- Prepare to copy the network utilities
  436. ;            Check the amount of disk space on the user's disk to see
  437. ;            if it is enough to store the utilities
  438. (set destDiskSpace (getdiskspace masterInstallDrive))
  439. (set spaceCheck TRUE)
  440. (while (= spaceCheck TRUE)
  441.     (set spaceChoice
  442.         (askchoice
  443.             (prompt
  444.                 (cat "You have " (/ destDiskSpace 1024)
  445.                     " KBytes available on the target drive."
  446.                     "  400 KBytes of free space is required to"
  447.                     " install all the Amiga Client Software on"
  448.                     " this drive.  If you don't have enough"
  449.                     " space on this drive, please Abort the"
  450.                     " installation and either make space, or"
  451.                     " restart the installation for a"
  452.                     " different hard drive."
  453.                 )
  454.             )
  455.             (help
  456.                 "    When you are installing an upgrade, some files"
  457.                 " will be overwritten, thus less total free space"
  458.                 " will be required.  A first-time installation"
  459.                 " will require 400 KBytes of free space.\n\n"
  460.                 @askchoice-help)
  461.             (choices "I Have Enough Room" "Choose New Drive"
  462.                 "Quit Installation")
  463.             (default ENOUGH_SPACE)
  464.         )
  465.     )
  466.  
  467.     (if (= spaceChoice NO_SPACE_QUIT) 
  468.         (abort (cat
  469.                 "Please find some disk space and try the install"
  470.                 " procedure again.")
  471.         )
  472.     )
  473.  
  474.     (if (= spaceChoice NO_SPACE_RESTART)
  475.         (
  476.             (set masterInstallDrive
  477.                 (askdir
  478.                     (prompt "Please choose a volume on which to"
  479.                         " create the Network directory where the ACS files"
  480.                         " will be installed.")
  481.                     (help @askdir-help)
  482.                     (default masterInstallDrive)
  483.                 )
  484.             )
  485.             (set destDiskSpace (getdiskspace masterInstallDrive))
  486.         )
  487. ;--        else if (spaceChoice == ENOUGH_SPACE)
  488.         (set spaceCheck FALSE)
  489.     )
  490. )
  491.  
  492. ; ---------- Create Network directory on target drive
  493. (set networkDirectory (tackon masterInstallDrive "Network"))
  494. (if (not (exists networkDirectory))
  495.     (makedir networkDirectory
  496.         (prompt "Creating Network directory.")
  497.         (help @makedir-help)
  498.         (confirm)
  499.         (infos)
  500.     )
  501. )
  502.  
  503. ; ---------- Ask the user to put the "Install I" disk in and copy the
  504. ;            files from it to the destination directory.
  505. (askdisk
  506.     (dest "ACS_Install_I")
  507.     (prompt "Please insert the Network Install disk labelled\n\n"
  508.         "Amiga Client Software\nInstall I")
  509.     (help @askdisk-help)
  510. )
  511.  
  512. (copyfiles
  513.     (prompt (cat "Copying Amiga Client Utilities to " networkDirectory))
  514.     (source "ACS_Install_I:Network")
  515.     (dest networkDirectory)
  516.     (help @copyfiles-help)
  517.     (confirm)
  518.     (all)
  519. )
  520.  
  521. ; ---------- Ask the user to put the "Install II" disk in and copy the
  522. ;            files from it to the destination directory.
  523. (askdisk
  524.     (dest "ACS_Install_II")
  525.     (prompt "Please insert the Network Install disk labelled\n\n"
  526.         "Amiga Client Software\nInstall II")
  527.     (help @askdisk-help)
  528. )
  529.  
  530. (copyfiles
  531.     (prompt (cat "Copying Amiga Client Utilities to " networkDirectory))
  532.     (source "ACS_Install_II:Network")
  533.     (dest networkDirectory)
  534.     (help @copyfiles-help)
  535.     (confirm)
  536.     (all)
  537. )
  538.  
  539. ; ---------- Ask the user to put the "Install III" disk in and copy the
  540. ;            files from it to the destination directory.
  541. (askdisk
  542.     (dest "ACS_Install_III")
  543.     (prompt "Please insert the Network Install disk labelled\n\n"
  544.         "Amiga Client Software\nInstall III")
  545.     (help @askdisk-help)
  546. )
  547.  
  548. (copyfiles
  549.     (prompt (cat "Copying Amiga Client Utilities to " networkDirectory))
  550.     (source "ACS_Install_III:Network")
  551.     (dest networkDirectory)
  552.     (help @copyfiles-help)
  553.     (confirm)
  554.     (all)
  555. )
  556.  
  557. ; ---------- Ask they user if they want to install the help for the
  558. ;            menu utilities.
  559. (set installHelp
  560.     (askchoice
  561.         (prompt "Do you want to install the Help Text for the ACS"
  562.             " utilities?")
  563.         (help
  564.             "    Help text is available by pressing the [F1] key or the"
  565.             " [HELP] key while in any ACS menu utility.  If you have"
  566.             " installed this before, it does not need to be reinstalled.\n"
  567.             "    When a utility that uses Help text is started, it first"
  568.             " looks to the currently preferred file server for its"
  569.             " Help text, and then looks to the \"Network\" directory."
  570.         )
  571.         (choices "Already Installed" "Please Install HELP")
  572.         (default (if (= installType UPDATE_INSTALL)
  573.                 DO_NOT_INSTALL_HELP
  574.                 DO_INSTLL_HELP)
  575.         )
  576.     )
  577. )
  578.  
  579. (if (= installHelp DO_INSTALL_HELP)
  580.     (copyfiles
  581.         (prompt "Installing ACS Utilities Help Files")
  582.         (source "ACS_Install_III:Help")
  583.         (help @copyfiles-help)
  584.         (dest (tackon networkDirectory "Help"))
  585.         (confirm)
  586.         (all)
  587.     )
  588. )
  589.  
  590. ; ---------- Ask the user to put in the installer disk back in a drive.
  591. (askdisk
  592.     (dest "ACS_Install_Utility")
  593.     (prompt "Please insert the Network Install disk labelled\n\n"
  594.         "Amiga Client Software\nInstall Utility")
  595.     (help @askdisk-help)
  596. )
  597.  
  598. ; ---------- Copy the network utilities icons
  599. (if (= workbenchVersion DOS_V13)
  600.     (set iconsSource "ACS_Install_Utility:neticons1.3")
  601.     (set iconsSource "ACS_Install_Utility:neticons2.0")
  602. )
  603. (copyfiles
  604.     (prompt "Copying ACS Utilities Icons")
  605.     (source iconsSource)
  606.     (help @copyfiles-help)
  607.     (dest networkDirectory)
  608.     (confirm)
  609.     (infos)
  610.     (all)
  611. )
  612.  
  613. ; ---------- Ask the user how many volumes exist on this
  614. ;            server and install a disk icon for each one.
  615. (if (= installDest TO_SERVER)
  616.     (
  617.         (Set numberOfVolumes
  618.             (asknumber
  619.                 (prompt "How many volumes exist on your server?")
  620.                 (help @asknumber-help)
  621.                 (default 1)
  622.             )
  623.         )
  624.         (set count 0)
  625.         (while (< count numberOfVolumes)
  626.             (
  627.                 (copyfiles
  628.                     (prompt
  629.                         "Copying network volume icon to server.")
  630.                     (source iconsSource)
  631.                     (dest (cat "nd" count ":"))
  632.                     (pattern "ACS_Volume.info")
  633.                     (help @copyfiles-help)
  634.                     (newname "Disk.info")
  635.                     (confirm)
  636.                     (infos)
  637.                 )
  638.                 (set count (+ count 1))
  639.             )
  640.         )
  641.     )
  642. )
  643.  
  644. ; ---------- Do the Startup-Sequence stuff for the hard drive installation
  645. (if (= installDest TO_HARD_DRIVE)
  646.     (startup "Amiga Client Software"
  647.         (prompt "Adding commands to your user startup file.")
  648.         (help
  649.             "    This process adds the following two statements to"
  650.             " your Amiga startup files:\n"
  651.             "    assign Network: " networkDirectory "\n"
  652.             "    path Network: add\n"
  653.             " These statements tell your computer where to find"
  654.             " the ACS utilities from a CLI.  Then you may use the"
  655.             " Login utility, or any ACS utility, from any directory.\n\n"
  656.             @startup-help)
  657.         (command (cat "assign Network: " networkDirectory "\n"))
  658.         (command "path Network: add")
  659.     )
  660. )
  661.  
  662. ; ---------- Give the closing arguments
  663. (if (= installDest TO_HARD_DRIVE)
  664.     (message (cat
  665.         "Your ACS files have been installed on \"" masterInstallDrive
  666.         "\" in a directory named Network.  You will need to"
  667.         " reboot to make the new NCP.library file active and"
  668.         " Login before you will be able to use the server"
  669.         " volumes. If you are running NetWare 3.11 please be"
  670.         " sure that Macintosh Name Space has been added to the"
  671.         " network volumes!"))
  672.     (message (cat
  673.         "Your ACS files have been installed on the server"
  674.         " volume \"masterInstallDrive\".  You may need to Login"
  675.         " again to use these files.  In order for users to"
  676.         " see the server volumes"
  677.         " as disk icons, Amiga users need special rights on the"
  678.         " server.  See documentation for details."))
  679. )
  680.  
  681. (exit)
  682.